package com.ios.common.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * IosBizDocument entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "ios_biz_document", catalog = "ios")
public class IosBizDocument implements java.io.Serializable {

	// Fields

	private Long documentId;
	private String documentCode;
	private String documentType;
	private String audit;
	private String auditer;
	private String finished;
	private Long customerId;
	private String customerName;
	private Long storehouseId;
	private String storehouseName;
	private String creater;
	private String operator;
	private String bizTime;
	private String remark;
	private String createTime;
	private String makeUp;
	private Float totalAmount;
	private String payment;
	private String discountA;
	private String discountB;
	private String redRed;
	private String accountId;

	// Constructors

	/** default constructor */
	public IosBizDocument() {
	}

	/** full constructor */
	public IosBizDocument(String documentCode, String documentType,
			String audit, String auditer, String finished, Long customerId,
			String customerName, Long storehouseId, String storehouseName,
			String creater, String operator, String bizTime, String remark,
			String createTime, String makeUp, Float totalAmount,
			String payment, String discountA, String discountB, String redRed,
			String accountId) {
		this.documentCode = documentCode;
		this.documentType = documentType;
		this.audit = audit;
		this.auditer = auditer;
		this.finished = finished;
		this.customerId = customerId;
		this.customerName = customerName;
		this.storehouseId = storehouseId;
		this.storehouseName = storehouseName;
		this.creater = creater;
		this.operator = operator;
		this.bizTime = bizTime;
		this.remark = remark;
		this.createTime = createTime;
		this.makeUp = makeUp;
		this.totalAmount = totalAmount;
		this.payment = payment;
		this.discountA = discountA;
		this.discountB = discountB;
		this.redRed = redRed;
		this.accountId = accountId;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "document_id", unique = true, nullable = false)
	public Long getDocumentId() {
		return this.documentId;
	}

	public void setDocumentId(Long documentId) {
		this.documentId = documentId;
	}

	@Column(name = "document_code")
	public String getDocumentCode() {
		return this.documentCode;
	}

	public void setDocumentCode(String documentCode) {
		this.documentCode = documentCode;
	}

	@Column(name = "document_type")
	public String getDocumentType() {
		return this.documentType;
	}

	public void setDocumentType(String documentType) {
		this.documentType = documentType;
	}

	@Column(name = "audit")
	public String getAudit() {
		return this.audit;
	}

	public void setAudit(String audit) {
		this.audit = audit;
	}

	@Column(name = "auditer")
	public String getAuditer() {
		return this.auditer;
	}

	public void setAuditer(String auditer) {
		this.auditer = auditer;
	}

	@Column(name = "finished")
	public String getFinished() {
		return this.finished;
	}

	public void setFinished(String finished) {
		this.finished = finished;
	}

	@Column(name = "customer_id")
	public Long getCustomerId() {
		return this.customerId;
	}

	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}

	@Column(name = "customer_name")
	public String getCustomerName() {
		return this.customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	@Column(name = "storehouse_id")
	public Long getStorehouseId() {
		return this.storehouseId;
	}

	public void setStorehouseId(Long storehouseId) {
		this.storehouseId = storehouseId;
	}

	@Column(name = "storehouse_name")
	public String getStorehouseName() {
		return this.storehouseName;
	}

	public void setStorehouseName(String storehouseName) {
		this.storehouseName = storehouseName;
	}

	@Column(name = "creater")
	public String getCreater() {
		return this.creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	@Column(name = "operator")
	public String getOperator() {
		return this.operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	@Column(name = "biz_time")
	public String getBizTime() {
		return this.bizTime;
	}

	public void setBizTime(String bizTime) {
		this.bizTime = bizTime;
	}

	@Column(name = "remark")
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "create_time")
	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	@Column(name = "make_up")
	public String getMakeUp() {
		return this.makeUp;
	}

	public void setMakeUp(String makeUp) {
		this.makeUp = makeUp;
	}

	@Column(name = "total_amount", precision = 12)
	public Float getTotalAmount() {
		return this.totalAmount;
	}

	public void setTotalAmount(Float totalAmount) {
		this.totalAmount = totalAmount;
	}

	@Column(name = "payment")
	public String getPayment() {
		return this.payment;
	}

	public void setPayment(String payment) {
		this.payment = payment;
	}

	@Column(name = "discount_a")
	public String getDiscountA() {
		return this.discountA;
	}

	public void setDiscountA(String discountA) {
		this.discountA = discountA;
	}

	@Column(name = "discount_b")
	public String getDiscountB() {
		return this.discountB;
	}

	public void setDiscountB(String discountB) {
		this.discountB = discountB;
	}

	@Column(name = "red_red")
	public String getRedRed() {
		return this.redRed;
	}

	public void setRedRed(String redRed) {
		this.redRed = redRed;
	}

	@Column(name = "account_id", length = 20)
	public String getAccountId() {
		return this.accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

}